package org.mdrtwell.jdk15;

public class ForTest {
	public static void main(String[] args) {
		int[] arr = { 1, 2, 3, 4, 5 };
		// ��ǿ��forѭ��
		for (int i : arr) {
			System.out.println(i);
		}
		// ��ʽforѭ��
		for (int j = 0; j < arr.length; j++) {
			System.out.println(arr[j]);
		}
	}
}
